package com.example;

import com.example.ChatClientGUI;

public class ChatClientTest {
    public static void main(String[] args) {
        // 启动第一个客户端
        new Thread(() -> {
            ChatClientGUI client1 = new ChatClientGUI("客户端1");
            client1.setVisible(true);
        }).start();

        // 启动第二个客户端
        new Thread(() -> {
            ChatClientGUI client2 = new ChatClientGUI("客户端2");
            client2.setVisible(true);
        }).start();
    }
} 